﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Yunwei.Core.MVC
{
    internal interface IUserInfo
    {
        string Id
        {
            get;
            set;
        }

        bool IsAdmin
        {
            get;
            set;
        }

        int IsEnabled
        {
            get;
            set;
        }

        string LoginName
        {
            get;
            set;
        }

        string Name
        {
            get;
            set;
        }

        bool HasPermission(string name);
    }
}
